import http from "../../service/http";
// 获取用户的粉丝未读消息数量
export function getFanUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/FanUnreadNum`)
}
// 获取用户的点赞未读消息数量
export function getLikeUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/byLikeUnreadNum`)
}
// 获取用户的评论未读消息数量
export function getCommentUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/byCommentUnreadNum`)
}
// 获取用户的@未读消息数量
export function getAtUnreadNumAPI(userId) {
  return http.get(`/user/${userId}/getAtUnreadNum`)
}

// 读取用户所有粉丝的未读消息
export function readAllFanMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllFanMsg`)
}

// 读取用户所有点赞的未读消息
export function readAllLikeMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllByLikeMsg`)
}
// 读取用户所有@的未读消息
export function readAllAtMsgAPI(userId) {
  return http.get(`/user/${userId}/readAllAtMsg`)
}
http://43.138.15.137:3000/api/user/0c34a42d-f0e1-4f13-ad18-c6cdf7ccc060/readAllByCommentMsg